﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Modal
{
  public  class Order
    {
    public int  OrderID { get; set;} //订单编号
	public int  ScheduleID { get; set;}  //场次	
	public string  Mname  	{ get; set;}	//影片名称
	public decimal Price { get; set;} //放映价格
	public string  Mpicture		{ get; set;}			//海报
	public int  Num {get;set;} //购买票的数量
	public DateTime OrderDate{get;set;} //下单日期	
	public int CustID  {get;set;}//会员编号
	public bool Ooff {get;set;}				//订单关闭状态 
	public bool  Orevoke {get;set;}				//订单撤销状态
	public bool  OPaid {get;set;}

    private List<OrderSeat> orderSeats;

    public List<OrderSeat> OrderSeats
    {
        get
        {
            return orderSeats;
        }
        set
        {
            orderSeats = value;
        }
    }

    public Order()
    {
        orderSeats = new List<OrderSeat>();
    }

    }
    public class OrderSeat
    {
        public int SeatID { get; set; }
        public int OrderID { get; set; }
    }
}
